import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';

import { AppModule } from './app/app.module';
import { environment } from './environments/environment';
//angular运用的起点
if (environment.production) {//如果是生产模式
  enableProdMode(); //关闭开发者模式
}

platformBrowserDynamic().bootstrapModule(AppModule);//启动
